// 返回上一个页面
function fanhui() {
  history.go(-1);
}
// 统计
function tongji() {
  location.href = "../../statistics/clockInCalendar/clockInCalendar.html";
}
// 考勤规则
function guize() {
  location.href = "../../examRules/examRules.html";
}
//   打卡月历
function yueli() {
  location.href = "../clockInCalendar/clockInCalendar.html";
}
// 数据图
var myChart = echarts.init(document.querySelector("#echartMain"));
option = {
  legend: {
    data: ["正常打卡24天", "异常打卡6天"],
  },
  series: [
    {
      type: "pie",
      radius: ["60%", "40%"],
      data: [
        { value: 24, name: "正常打卡24天" },
        { value: 6, name: "异常打卡6天" },
      ],
    },
  ],
};
option && myChart.setOption(option);
